import { ajax } from '../http.js';

const findIndustryUrl = '/product_b2b/find_industry';
const findByIndustryUrl = '/product_b2b/find_by_industry';

const findIndustry = (data, success, fail) => // 查询商品行业标签
  ajax({
    url: findIndustryUrl,
    data: data,
    success: success,
    fail: fail
  });
const findGoodsByIndustry = (data, success, fail) => // 按行业标签查询商品
	ajax({
	  url: findByIndustryUrl,
	  data: data,
	  success: success,
	  fail: fail
	});

export {
  findIndustry,
  findGoodsByIndustry
}